package com.example.bbs.service;

import com.example.bbs.model.Reply;

import java.util.List;

/**
 * @auther: zhangxin
 * @Description:
 */
public interface ReplyService {

    public int getCountByPostId(int postId);

    public List<Reply> getReplyList(int postId);

    public boolean addReply(Reply reply);

    public List<Reply> getReplyListByUserId(int userId);


    public boolean deleteReplyByReplyId(int replyId,int postId);
}
